package com.servicesystem.servicesystem.entity.douyin.vo.order;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * @author X
 * @version 1.0
 * @ClassName OrderListDataVO
 * @description
 * @date 2020/9/10
 **/
@Data
public class OrderListDataVO implements Serializable {

    //订单ID
    private String orderId;
    //店铺ID
    private String shopId;
    //父订单ID
    private String pid;
    //子订单数量
    private String childNum;
    //商品ID
    private String productId;
    //商品名称
    private String productName;
    //商品图片 (spu维度的商品主图)
    private String productPic;
    //该子订单购买的商品 sku_id
    private String comboId;
    //该子订单购买的商品的编码 code
    private String code;
    //该子订单所属商品规格描述
    private String specDescName;
    private String specDescValue;
    //收件人地址
    private String postAddrCityId;
    private String postAddrCityName;
    private String detail;
    private String provinceId;
    private String provinceName;
    private String townId;
    private String townName;
    //邮政编码
    private String postCode;
    //收件人姓名
    private String postReceiver;
    //收件人电话
    private String postTel;
    //买家备注
    private String buyerWords;
    //卖家备注
    private String sellerWords;
    //物流公司ID
    private String logisticsId;
    //物流单号
    private String logisticsCode;
    //发货时间
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private String logisticsTime;
    //收货时间
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private String receiptTime;
    //订单状态
    private String orderStatus;
    //订单类型 (0:普通订单，2:虚拟订单，4:电子券)
    private String orderType;
    //订单创建时间
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;
    //订单更新时间
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private String updateTime;
    //订单最晚发货时间
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private String expShipTime;
    //订单取消原因
    private String cancelReason;
    //支付类型 (0：货到付款，1：微信，2：支付宝）
    private String payType;
    //支付时间 (pay_type为0货到付款时, 此字段为空)
    private String payTime;
    //该子订单所购买的sku的售价
    private String comboAmount;
    //该子订单所购买的sku的数量
    private String comboNum;
    //邮费金额 (单位: 分)
    private String postAmount;
    //平台优惠券金额 (单位: 分)
    private String couponAmount;
    //商家优惠券金额 (单位: 分)
    private String shopCouponAmount;
    //优惠券id
    private String couponMetaId;
    //优惠券详情 (type为优惠券类型，具体如下表所示, credit为优惠金额,单位分)
    private String couponInfoId;
    private String couponInfoName;
    private String couponInfoDescription;
    private String couponInfoCredit;
    private String couponInfoType;
    private String couponInfoDiscount;
    private String couponInfoPayType;
    //活动细则 (title为活动标题)
    //活动ID
    private String campaignId;
    //活动名称
    private String campaignTitle;
    //满减活动(share_amount表示满减活动分摊到当前子订单的优惠金额)
    private String shopFullCampaign;
    //订单实付金额（不包含运费）
    private String totalAmount;
    //是否评价 (1:已评价)
    private String isComment;
    //催单次数
    private String urgeCnt;
    //订单APP渠道
    private String bType;
    //订单业务类型
    private String cBiz;
}
